
var recordFieldsunite=[
					
	{name:  "lib_unite",mapping : "lib_unite"},
	{name:  "nature_unite",mapping : "nature_unite"},
	{name:  "ECUE",mapping : "ECUE"},
	{name:  "volume_cours",mapping : "volume_cours"},
	{name:  "volume_TP",mapping : "volume_TP"},
	{name:  "volume_TD",mapping : "volume_TD"},
	{name:  "coeifficient",mapping : "coeifficient"},
	{name:  "code_diplome",mapping : "code_diplome"},
	{name:  "code_niveau",mapping : "code_niveau"},
	{name:  "code_domaine",mapping : "code_domaine"},
	{name:  "date_soumission",mapping : "date_soumission"},
	{name:  "credit",mapping : "credit"},
	{name:  "projet",mapping : "projet"},
	{name:  "CIN",mapping : "CIN"},
	{name:  "date_depot_contenu",mapping : "date_depot_contenu"},
	{name:  "code_mention",mapping : "code_mention"},
	{name:  "specialite",mapping : "specialite"},
	{name:  "session",mapping : "session"},
	{name:  "date_decision",mapping : "date_decision"},
	{name:  "decision",mapping : "decision"},
	{name:  "observation_ue",mapping : "observation_ue"},
	{name:  "mail_sended",mapping : "mail_sended"},
	{name:  "nbr_ens",mapping : "nbr_ens"},
	{name:  "decision_production",mapping : "decision_production"},
	{name:  "date_decision_num",mapping : "date_decision_num"},
	{name:  "date_decision_exp",mapping : "date_decision_exp"},
	{name:  "duree",mapping : "duree"},
	{name:  "delai_jour",mapping : "delai_jour"},
	{name:  "validation_scientifique",mapping : "validation_scientifique"},
	{name:  "expRPL",mapping : "expRPL"},
	{name:  "expMoodle",mapping : "expMoodle"},
	{name:  "etat_soumission",mapping : "etat_soumission"},
	
	
	{name:  "code_ue",mapping : "code_ue"}

];

var myproxyunite=new Ext.data.HttpProxy({ 
	url : 'core/frm/action/unite.action.php',
	id:'punite',
	method: 'post'
});
var dsunite = new Ext.data.JsonStore({
	url : 'core/frm/action/unite.action.php',
	id:'jban',
	proxy : myproxyunite,
	root : 'result',
	totalProperty : 'totalcount', 
	fields :recordFieldsunite ,
	idProperty: 'code_ue',
	autoLoad:true
});



var myproxyunitesuivi=new Ext.data.HttpProxy({ 
	url : 'core/frm/action/uniteSuivi.action.php',
	id:'punite',
	method: 'post'
});
	
var dsunitesuivi = new Ext.data.JsonStore({
	url : 'core/frm/action/uniteSuivi.action.php',
	id:'jban',
	proxy : myproxyunitesuivi,
	root : 'result',
	totalProperty : 'totalcount', 
	fields :recordFieldsunite ,
	idProperty: 'code_ue',
	autoLoad:true
});
				